package org.csu.gp_store.service;

import org.csu.gp_store.bo.FactoryBO;
import org.csu.gp_store.entity.Factory;
import org.jetbrains.annotations.NotNull;

import java.util.List;

public interface FactoryService {
    int insertFactory(Factory factory);

    int cancelFactory(Factory factory);

    int changeFactory(Factory factory);

    boolean factoryExist(@NotNull String factoryName,@NotNull Long companyID);

    List<Factory> getFactoryList(@NotNull Long companyID);

    Factory getCertainFactory(@NotNull Long factoryID);
}
